package com.yz.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Select;

import com.yz.entity.Membership;
import com.yz.entity.Section;

public interface SectionMapper {
	//获取科室列表
	public List<Section> getSec(Section sectionDto);
	//添加科室信息
	public boolean addSec(Section section);
	//修改科室信息
	public boolean updateSec(Section section);
	//删除科室信息
	public boolean delSec(int seid);
	
	//获取科室
	@Select("select * from section")
	public List<Section> getAllSec();
}
